@charset "UTF-8";
// 颜色
.gray {
  color: $gray;
}

.brand-danger {
  color: $brand-danger;
}

.brand-warning {
  color: $brand-warning;
}

.brand-success {
  color: $brand-success !important;
}

// 边距
.mt0 {
  margin-top: 0 !important;
}

.mt10 {
  margin-top: 10px !important;
}

.mt20 {
  margin-top: 20px !important;
}

.mt30 {
  margin-top: 30px !important;
}

.ml10 {
  margin-left: 10px !important;
}

.page-title {
  font-size: 36px;
  margin: 30px 0 !important;
}

// 喜欢、收藏、分享
.btn-love, .btn-collect, .btn-share {
  margin-left: 15px;
  color: $gray !important;
  padding-top: 20px;
  padding-bottom: 20px;
}
.share-wrap{
  position: relative;
  .social-wrap {
	display: none;
	position: absolute;
	top: 26px;
	right: -26px;
	width: 308px;
	@extend %block-bg;
	padding: 10px 10px 5px;
	i {
	  position: absolute;
	  top: -17px;
	  right: 26px;
	  width: 0;
	  height: 0;
	  font-size: 0;
	  border: 8px solid transparent;
	  border-bottom-color: #eee;
	}
  }
}
.share-show{
  .social-wrap{
	display: block;
  }
}


.page-wrap {
  background: #fff;
}

.rec-wrap {
  .rec-line {
	position: relative;
	padding: 30px 0;
	text-align: center;
	&:before, &:after {
	  display: block;
	  position: absolute;
	  top: 48px;
	  width: 41%;
	  content: "";
	  border-top: 1px solid #ccc;
	}
	&:before {
	  left: 0;
	}
	&:after {
	  right: 0;
	}
	h2 {
	  display: inline-block;
	  margin: 0;
	}
  }
}

// 页面子标题
.p-sub-title {
  background-color: #fff;
  margin-bottom: 20px;
  padding: 10px 20px;
  li {
	position: relative;
	float: left;
	display: inline-block;
	padding: 0 15px;
	font-size: 16px;
	line-height: 2;
	&.cur {
	  a {
		color: $brand-warning;
	  }
	  i {
		position: absolute;
		bottom: -10px;
		left: 38%;
		border: 9px solid #000;
		border-left: 8px solid #000;
		border-right: 8px solid #000;
		border-color: transparent transparent #EDECE9 transparent;
	  }
	}
  }
}

// 内页模块标题
.mod-sub-title {
  font-size: 20px;
  height: 48px;
  line-height: 48px;
  padding: 0 20px;
  margin: 0;
  border-bottom: 1px solid $gray-lighter;
}

// 首页模块标题
.mod-title {
  margin-bottom: 10px;
}

// 个人主页 发布按钮
%btn-pub{
  display: inline-block;
  height: 28px;
  line-height: 28px;
  padding: 0 20px;
  color: #fff;
  font-size: 12px;
  &:hover {
	color: #fff;
  }
}
.btn-pub {
  @extend %btn-pub;
  margin-top: 6px;
   background-color: $brand-warning;
   &:hover {
	 background-color: rgba($brand-warning, .8);
   }
 }
.btn-msg-pub {
  @extend %btn-pub;
  margin-top: 3px;
  background-color: $brand-success;
  &:hover {
	background-color: rgba($brand-success, .8);
  }
}


// 更多
.more {
  float: right;
  color: $gray-light;
  font-size: 14px;
}

// tab导航
.tab-nav {
  height: 46px;
  line-height: 46px;
  li {
	display: inline-block;
	float: left;
	margin-left: 20px;
	font-size: 18px;
	&.active a {
	  color: $brand-warning;
	}
  }
  .g-btn-pub {
	float: right;
	font-size: 14px;
	margin-right: 20px;
	margin-top: 5px;
  }
}

// 标签
.label-text {
  a {
	margin-right: 15px;
	color: $gray-light;
  }
}

.label-name {
  color: $gray-light;
}

// 块顶部、底部线
%solid-line {
  &:nth-child(2) {
	border-top: 1px solid $gray-lighter;
  }
  border-bottom: 1px solid $gray-lighter;
}

// line
.divide {
  padding: 0 5px;
  color: $gray-color;
  font-style: normal;
}

// filter
.filter-wrap {
  margin-bottom: 30px;
  background-color: #FCFCFC;
  .fil-item {
	position: relative;
	.inb {
	  display: inline-block;
	  *display: inline;
	  zoom: 1;
	  vertical-align: top;
	  background-color: #fff;
	  padding-left: 2px;
	}
  }
  .fil-pro {
	width: 70px;
	display: inline-block;
	text-align: right;
	color: $gray-light;
  }
  .fil-val {
	position: relative;
	top: -25px;
	left: 70px;
	overflow: hidden;
	margin-right: 70px;
	a {
	  display: inline-block;
	  line-height: 2;
	  padding: 0 5px;
	  border-radius: 2px;
	  &.cur {
		background-color: $brand-warning;
		color: #fff;
		text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.2);
	  }
	}
  }
}

// 展开 收起
.more-province-wrap {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  vertical-align: top;
  .more-province {
	color: $brand-warning;
	cursor: pointer;
  }
  .more-province-hover {
	color: lighten($brand-warning, 15%);
  }
  .more-province-tri {
	width: 0;
	height: 0;
	border: 6px solid #000;
	border-left: 4px solid #000;
	border-right: 4px solid #000;
	border-color: $brand-warning transparent transparent transparent;
	margin: 9px 0 0 -1px;
	cursor: pointer;
  }
  .more-province-tri-up {
	border-color: transparent transparent $brand-warning transparent;
	margin: 0;
  }
  .more-province-tri-down-hover {
	border-color: lighten($brand-warning, 15%) transparent transparent transparent;
  }
  .more-province-tri-up-hover {
	border-color: transparent transparent lighten($brand-warning, 15%) transparent;
  }
}